module mux2_1(
        input s,
        input [7:0]a,
        input [7:0]b,
        output reg [7:0]y
    );
    always @(*) begin
       if(s==0)y=a;
       else y=b;  
    end
endmodule